package com.carkeeper.system.feign;

import com.carkeeper.system.pojo.Role;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author 周志雄
 * @version 1.0
 * @date 2020/11/24 20:01
 */
@FeignClient(name = "carkeeper-system")
public interface RoleFeign {
    @GetMapping("/role")
    public List<Role> findAll();
}
